export default {
    changeInput(state, payload) {
        state.inputValue = payload
    },
    go(state, payload) {
        // console.log(state, payload);
        let obj = state.goingArr[payload]
        state.goingArr.splice(payload, 1)
        state.doneArr.push(obj)
    },
    done(state, payload) {
        let obj = state.doneArr[payload]
        state.doneArr.splice(payload, 1)
        state.goingArr.push(obj)
    },
    gogg(state, payload) {
        state.goingArr.splice(payload, 1)
    },
    donegg(state, payload) {
        state.doneArr.splice(payload, 1)
    }

}